<extend name="Public/base"/>

<block name="body">
    <script type="text/javascript" src="__STATIC__/uploadify/jquery.uploadify.min.js"></script>
    <div class="main-title">
        <h2>创建人品大爆发活动</h2>
    </div>
    <div class="tab-wrap">
        <div class="tab-content">
            <form action="__URL__/setting" method="post" class="form-horizontal" autocomplete="off">
                <div class="form-item">
                    <label class="item-label">APP下载链接</label>
                    <div class="controls">
                        <input type="text" class="text input-large" name="setting[APP_URL]" value="{$app_url}">
                    </div>
                </div>
                <div class="form-item">
                    <label class="item-label">微信号</label>
                    <div class="controls">
                        <input type="text" class="text input-large" name="setting[WECHAT_NO]" value="{$wechat_no}">
                    </div>
                </div>
                <div class="form-item">
                    <label class="item-label">指定中奖人id(多个使用逗号分隔)</label>
                    <div class="controls">
                        <input type="text" class="text input-large" name="setting[WINNER_IDS]" value="{$winner_ids}">
                    </div>
                </div>
                <div class="form-item">
                    <label class="item-label">发布规则</label>
                    <div class="controls">
                        <textarea class="form-control" name="setting[SNATCH_RULE]" rows="10" cols="100">{$snatch_rule}</textarea>
                    </div>
                </div>

                <div class="form-item">
                    <button class="btn submit-btn ajax-post hidden" id="submit" type="submit" target-form="form-horizontal">确 定</button>
                </div>
            </form>
        </div>
    </div>
</block>